package com.example.figurehecheng.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 宇科工作室
 * @since 2024-10-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("canteen")
@ApiModel(value="Canteen对象", description="")
public class Canteen implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店名")
    private String cookenName;

    @ApiModelProperty(value = "分类")
    private Integer type;

    @ApiModelProperty(value = "介绍")
    private String introduce;

    @ApiModelProperty(value = "地址")
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始营业时间")
    private LocalDateTime beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束营业时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "餐饮文化")
    private String culture;

    @ApiModelProperty(value = "商家ID")
    private Integer shopId;


}
